package com.phenix.mvp.base;

import java.util.Collection;
import java.util.Map;

import io.reactivex.Observable;


/**
 * Created by zhouphenix on 2016-7-31.
 * 仓库类，定义仓库货物(数据)，钥匙，来源
 */

public abstract class Repository<T>{
    public T data;//仓库货物(数据)

    public Map<String,Object> params;//钥匙

    public abstract Observable<Collection<T>> getPageAt(int page);//来源


}
